<template>
  <div class="title">
    <div class="box">
      <div class="curlie"></div>
      <span class="text">{{title}}</span>
      <div class="curlie"></div>
    </div>
  </div>
</template>

<script>
export default {
    props:['title']
};
</script>

<style scoped lang="scss">

.title{
    padding: 4vw 0;
}

.curlie {
  border-radius: 999px;
  background-color: #d4c0a7;
  width: 0.1951rem;
  height: 0.1951rem;
}
.box {
  display: flex;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
}
.text {
  padding: 0 3vw;
  font-size: 0.5rem;
}
</style>